main {
  background: #f8f8f8;
  overflow: hidden;
}

.school {
  border-bottom: 20px solid #f8f8f8;

  > p {
    height: 50px;
    background: #2065A0;
    color: #fff;
    line-height: 50px;
    padding-left: 25px;
    font-size: 18px;
  }

  .school-menu {
    display: flex;
    flex-wrap: wrap;
    padding: 10px 50px;

    > div {
      width: 20%;
      margin: 7px 0;

      a {
        font-size: 16px;
        color: #333333;
        line-height: 25px;
      }

      a:hover {
        color: #2065a0;
      }
    }

    .acitive {
      color: #2065a0;
    }
  }
}

.teacher, .talents {
  position: relative;

  > p {
    height: 50px;
    color: #2065A0;
    line-height: 50px;
    padding-left: 25px;
    font-size: 18px;
    border-bottom: 1px solid #2065a0;

    img:nth-of-type(1) {
      width: 28px;
      height: 28px;
      position: absolute;
      top: 0;
      left: 0;
    }

    img:nth-of-type(2) {
      width: 28px;
      height: 13px;
      position: absolute;
      top: 18px;
      right: 7px;
    }

    a {
      float: right;
      font-size: 16px;
      font-weight: 400;
      color: #2065a0;
      line-height: 50px;
      margin-right: 35px;
    }
  }


  .teacher-list {
    display: flex;
    justify-content: flex-start;
    padding: 18px 50px;
    border-bottom: 20px solid #f8f8f8;

    .teacher-box {
      img {
        width: 260px;
        height: 220px;
        object-fit: contain;
      }

      p {
        margin-top: 15px;
        text-align: center;
        font-size: 16px;
        color: #333333;
        line-height: 26px;
      }
    }
  }

  .teacher-list:not(:last-child) {
    margin-right: 20px;
  }

  .talents-list {
    flex-wrap: wrap;

    .teacher-box {
      //width: 175px;
      margin-top: 15px;
      margin-bottom: 15px;
      width: 16.6%;

      img {
        width: 175px;
        height: 220px;
        object-fit: contain;
        border: 1px solid #f3f3f3;
      }

      p {
        margin-top: 12px;
        text-align: center;
        color: #333333;
        font-size: 16px;
        font-weight: 400;
        line-height: 22px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
      }

      p:nth-of-type(2) {
        margin-top: 5px;
        font-size: 1rem;
        color: #666;
        line-height: 1.3rem;
      }
    }
  }

  //.talents-list:not(:last-child) {
  //  margin-right: 20px;
  //}
}

.academy-list {
  display: flex;
  padding: 18px 50px;
  border-bottom: 20px solid #f8f8f8;

  .teacher-box {
    margin: 0 4px;
  }
}

